<?php if(App\Components\MenuTools::isShowMenu(['/admin/partner/list','/admin/vip/list','/admin/user/index'])): ?>
<?php if((isset($admin_partner_menu) && $admin_partner_menu) || (isset($admin_vip_menu) && $admin_vip_menu) || (isset($admin_user_index) && $admin_user_index)): ?>
<li class="active treeview">
  <?php else: ?>
<li class="treeview">
  <?php endif; ?>
  <a href="#"><i class="fa fa-user"></i> <span>用户管理</span>
    <span class="pull-right-container">
      <i class="fa fa-angle-left pull-right"></i>
    </span>
  </a>
  <ul class="treeview-menu">
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/partner/list'])): ?>
    <li <?php if((isset($admin_partner_menu) && $admin_partner_menu)): ?>class="active" <?php endif; ?>><a href="/admin/partner/list"><i class="fa fa-circle-o"></i>合伙人列表</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/vip/list'])): ?>
    <li <?php if((isset($admin_vip_menu) && $admin_vip_menu)): ?>class="active" <?php endif; ?>><a href="/admin/vip/list"><i class="fa fa-circle-o"></i>会员列表</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/user/index'])): ?>
    <li <?php if((isset($admin_user_index) && $admin_user_index)): ?>class="active" <?php endif; ?>><a href="/admin/user/index"><i class="fa fa-circle-o"></i>用户列表</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/user/index'])): ?>
      <li <?php if((isset($admin_mobile_index) && $admin_mobile_index)): ?>class="active" <?php endif; ?>><a href="/admin/mobile/index"><i class="fa fa-circle-o"></i>移动端管理</a></li>
    <?php endif; ?>
  </ul>
</li>
<?php endif; ?>
